package com.ruoyi.largeScreen.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.largeScreen.mapper.ZjcEchartsStoreMapper;
import com.ruoyi.largeScreen.domain.ZjcEchartsStore;
import com.ruoyi.largeScreen.service.IZjcEchartsStoreService;

/**
 * echarts仓库Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
@Service
public class ZjcEchartsStoreServiceImpl implements IZjcEchartsStoreService 
{
    @Autowired
    private ZjcEchartsStoreMapper zjcEchartsStoreMapper;

    /**
     * 查询echarts仓库
     * 
     * @param id echarts仓库主键
     * @return echarts仓库
     */
    @Override
    public ZjcEchartsStore selectZjcEchartsStoreById(Long id)
    {
        return zjcEchartsStoreMapper.selectZjcEchartsStoreById(id);
    }

    /**
     * 查询echarts仓库列表
     * 
     * @param zjcEchartsStore echarts仓库
     * @return echarts仓库
     */
    @Override
    public List<ZjcEchartsStore> selectZjcEchartsStoreList(ZjcEchartsStore zjcEchartsStore)
    {
        return zjcEchartsStoreMapper.selectZjcEchartsStoreList(zjcEchartsStore);
    }

    /**
     * 新增echarts仓库
     * 
     * @param zjcEchartsStore echarts仓库
     * @return 结果
     */
    @Override
    public int insertZjcEchartsStore(ZjcEchartsStore zjcEchartsStore)
    {
        return zjcEchartsStoreMapper.insertZjcEchartsStore(zjcEchartsStore);
    }

    /**
     * 修改echarts仓库
     * 
     * @param zjcEchartsStore echarts仓库
     * @return 结果
     */
    @Override
    public int updateZjcEchartsStore(ZjcEchartsStore zjcEchartsStore)
    {
        return zjcEchartsStoreMapper.updateZjcEchartsStore(zjcEchartsStore);
    }

    /**
     * 批量删除echarts仓库
     * 
     * @param ids 需要删除的echarts仓库主键
     * @return 结果
     */
    @Override
    public int deleteZjcEchartsStoreByIds(Long[] ids)
    {
        return zjcEchartsStoreMapper.deleteZjcEchartsStoreByIds(ids);
    }

    /**
     * 删除echarts仓库信息
     * 
     * @param id echarts仓库主键
     * @return 结果
     */
    @Override
    public int deleteZjcEchartsStoreById(Long id)
    {
        return zjcEchartsStoreMapper.deleteZjcEchartsStoreById(id);
    }
}
